<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Find
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Find a Patient</h2>
    
    <% using (Html.BeginForm())
       { %>
       
       <p>First Name: <input type="text" name="fname" /></p>
       <p>Last Name: <input type="text" name="lname" /></p>
       <p>Cell Phone Number: <input type="text" name="cellNumber" /></p>
       <p>Procedure Date: <%= Html.TextBox("procedureDate", "" ,new { @class = "datefield" })%></p>
       <div><input type="submit" value="Find"/></div>
       
     <%} %>
     
     <script type="text/javascript">
        $(function() {
            $('.datefield').datepicker({ changeYear: true, changeMonth: true, maxDate: '+0D', yearRange: '-120:+1' });
        });
        
    </script>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Header" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="TableSubheader" runat="server">
</asp:Content>
